<?php

namespace App\Http\Controllers\Api;


use App\Models\Payment;
use Illuminate\Routing\Controller as BaseController;


class PaymentController extends BaseController
{

    public function typeList()
    {
        return response()->json([
            'code' => 200,
            'msg' => 'ok',
            'data' => Payment::whereNull('deleted_at')->get()
        ]);
    }

}
